package com.wjk.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/say")
public class SayHello {

	@GetMapping("hello/{name}")
	public String hello(@PathVariable(value = "name") String name) {
		System.out.println(name);
		//this is change
		return String.format("Hell ,%s", name);
	}
}
